package com.dhl.fin.api.dao;

import com.dhl.fin.api.common.dto.QueryDto;
import com.dhl.fin.api.domain.StockV;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface StockVDao {
    int deleteByPrimaryKey(StockV record);

    int insert(StockV record);

    int insertSelective(StockV record);

    List<StockV> selectPageQuery(QueryDto queryDto);

    List<StockV> selectSelective(QueryDto queryDto);

    int selectCount(QueryDto queryDto);

    StockV selectOne(QueryDto queryDto);

    StockV selectByPrimaryKey(Map data);

    int updateByPrimaryKeySelective(@Param("domain")StockV record, @Param("query")QueryDto queryDto);

    int updateByPrimaryKey(StockV record);
}